package com.firefightingiot.firefightingiot.web.mapper;

import cn.hutool.json.JSONObject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.firefightingiot.firefightingiot.model.DeviceSwitch;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @Author: YangYu
 * @ClassName: DeviceSwitchMapper
 * @Date: Created in 9:15 2023/2/20
 * @Description: 开关
 */
@Mapper
public interface DeviceSwitchMapper extends BaseMapper<DeviceSwitch> {

    void batchUpdate(List<Map<String,Object>> list);

    void updateTransDeviceCode(JSONObject jsonParam);
}
